// src/locales/en-US.js
export default {
    'navbar.lang': '中文',

    //Tab标题
    SERVICES_MGR: 'Services',
    ONLINE_DEBUG: 'Online Diagnose',
    AUTH_CONTROL: 'Authority Control',
    PLUGINS: 'Plugins',
    SETTING: 'Setting',
    ABOUT: 'About',
    MENU_DOCS: 'DOCS',

    //服务管理
    ONE_KEY_START: 'Start All',
    ONE_KEY_STOP: 'Stop All',
    ONE_KEY_RESTART: 'Restart All',
    START: 'Start',
    STOP: 'Stop',
    RESTART: 'Restart',
    UPLOAD_NEW: 'Upload & New',
    NAME: 'Name',
    STATUS: 'Status',
    CLEAR: 'Clear',
    CLOSE: 'Close',
    GROUP: 'Group',
    TREE_VIEW: 'Tree',
    LIST_VIEW: 'List',
    CONSOLE_VIEW: 'Console',
    SERVICES_CONF: 'Config',
    GROUP_PLACEHOLDER: 'Enter the group name for easy management',
    CMD_PLACEHOLDER: 'Input command to execute',
    SELECT_UPLOAD_SERVER_TITLE: 'Input the server name of update or new',
    UPLOAD_STAGE_TITLE: 'Upload {server} files',
    UPLOAD_TIPS: 'Click or drag the file to upload to this area',
    FILE_SIZE_OVER_TIPS: 'The file size must be less than {size}',
    COMMAND_PLACEHOLDER: 'Input command，Example: help',
    MORE_SETTING_INFO: 'More setting info view Service config page.',
    UPLOAD_ERROR: 'Error update service!',
    UPLOAD_SUCCESS: 'Successfully update service!',
    UPLOAD_HINT: 'Support for a single or bulk upload.',
    DELETE_INFO: 'This operation will completely delete the relevant information of the service. Do you want to continue?',
    UPLOAD_DESC: 'Click or drag file to this area to upload',
    LOCAL: 'Local',
    REMOTE: 'Remote',
    DEFAULT_GROUP: 'Default group',
    DETACH_MSG: 'Detach will disconnect remote connection，and removed from list after disconnect，continue or not?',
    //进程状态
    RUNNING: 'Running',
    STOPPED: 'Stopped',
    STARTING: 'Starting',
    STOPPING: 'Stopping',

    //通用
    TYPE: 'Type',
    SUBMIT_BTN: 'Submit',
    RESET_BTN: 'Reset',
    SEARCH_BTN: 'Search',
    FILTER_BTN: 'Filter',
    REFRESH_BTN: 'Refresh',
    NEXT_BTN: 'Next',
    DASHBOARD: 'Dashboard',
    SERVER_EMPTY: 'Current workspace searched empty.',
    MODIFY: 'Modify',
    DELETE: 'Delete',
    CREATE: 'Create',
    SUCCESS: 'Success!',
    LOADING: 'Loading...',
    SUBMITTING: 'Submitting...',
    WARN: 'Warn',
    CANCEL: 'Cancel',
    EXPORT: 'Export',
    IMPORT: 'Import',
    IMPORT_INFO: `The server {name} you imported which is already exist, overwrite it?`,
    UPLOAD_INFO: `Do you want to back up the service {name} before uploading updates for recovery after deployment errors?`,
    START_UPLOAD_INFO: `Start upload file {name}...`,
    TRUSTED_SUCCESS: 'Authorization obtained successfully!',
    UNTRUSTED_MODEL_BODY: `Unknown host {host}, truest？`,
    TRUST_ONCE: 'Trust once',
    TRUST_ALWAYS: 'Always trust',
    TEXT_WRAP: 'Text wrap',
    AUTO_SCROLL_END: 'Auto scroll to end',
    SCROLL_TO_TOP: 'Scroll to top',

    //服务配置
    SERVER_LIST_TITLE: 'Services',
    COMMAND_LABEL: 'Command',
    VM_OPT_LABEL: 'VM options',
    MAIN_ARGS_LABEL: 'Program arguments',
    WORK_HOME_LABEL: 'Working directory',
    ENV_LABEL: 'Environment variables',
    PRIORITY_LABEL: 'Priority',
    DAEMON_LABEL: 'Daemon',
    JAR_UPDATE_WATCH_LABEL: 'File path Watch',
    COMMAND_EXAMPLE: "Example:  1) -jar xx.jar    2) MainClassName    3) -cp xx.jar *.*.MainClass mainMethod    4) -classpath **.jar *.*ClassName",

    //插件
    PLUGIN_UPLOAD_TITLE: 'Upload plugin',
    PLUGIN_FILE: 'file',
    UPLOAD_BUTTON: 'Click to Upload',

    //全局配置界面
    SYSTEM_SETTING: 'System setting',
    SERVERS_PATH: 'Workspace',
    DEFAULT_VM_OPT: 'Default VM options',
    AUTO_START_AFTER_INIT: 'Auto start after jarboot started',
    TRUSTED_HOSTS: 'Trusted hosts',
    EMPTY_INPUT_MSG: "The entered content is empty!",
    DELETE_HOST_MSG: "Delete trusted host or not?",

    //用户登录
    USER_NAME: 'User',
    PASSWORD: 'Password',
    LOGIN: 'Login',
    MODIFY_PWD: 'Modify password',
    CREATE_USER: 'Create user',
    SIGN_OUT: 'Sign out',
    INTERNAL_SYS_TIP: `Internal system.`,
    INTERNAL_SYS_TIP1: `Not exposed to the public network`,
    REPEAT_PASSWORD: 'Please input repeat password!',
    INPUT_PASSWORD: 'Please input password!',
    INPUT_USERNAME: 'Please input your user name!',
    INPUT_ROLE: 'Please input role!',
    PWD_NOT_MATCH: 'The two passwords that you entered do not match!',
    USER_LIST: 'User List',
    ROLE_MGR: 'Role Management',
    PRIVILEGE_MGR: 'Privilege Management',
    ROLE: 'Role',
    BIND_ROLE: 'Binding roles',
    DELETE_USER: `Do you want to delete this user({user})?`,
    DELETE_ROLE: `Do you want to delete this role?`,
    CAN_NOT_REMOVE_SELF: 'Can not delete current user!',
    PERMISSION_CONTROL_TITLE: `Access Permission Control`,

    //交互提示信息
    SELECT_ONE_SERVER_INFO: 'Please select one server to operate.',
    NAME_NOT_EMPTY: `Name can't be empty`,
    UPLOAD_FILE_EMPTY: `Upload file of done is empty.`,
    SELECT_ONE_OP: 'Please select one item to operate.',
    COMMAND_RUNNING: 'Now it\'s executing command: "{command}"，please stop it first.',

    //帮助
    HELP: 'Help',
    QUICK_START: 'Quick start',
    ABOUT_TEXT: 'Jarboot is a platform for Java process startup, debugging and diagnosis，which can manage, monitor and debug a series of Java instance.',
    //快速开始
    QUICK_START_P1: `Project homepage: {github} or Gitee image warehouse`,
    QUICK_START_P2: `When you enter this interface, it means that you have built and start it, and the next thing you need to do is put the jar files you developed into the directory. By default, no configuration is made，create a folder named {dir} in the directory jarboot as the service root path. In this path create the fold which it's name as it's service name, then put the jar files under sub file.`,
    QUICK_START_P3: `Default directory structure: `,
    QUICK_START_P4: `You can modify the default path by {key2} in the {key1} interface. You can set the start command by {key4} in the {key3} interface.`,
    QUICK_START_P5: `Start the service in {key} interface.`,
    QUICK_START_P6: `Click the corresponding button to complete the start and stop of all services.`,
    QUICK_START_P7: `You can also select one or several services and click the corresponding button to start and stop the selected service.`,
    QUICK_START_P8: `Refresh the list of services, update the number and status of services.`,
    //设置
    SETTING_P1: `General configuration`,
    SETTING_P2: `:Set the default service root directory. You can change the default service root directory location. By default, it is the services directory under jarboot.`,
    SETTING_P3: `:When the service does not set the startup parameters of the JVM, the default global configuration is used.`,
    SETTING_P4: `:Auto start services after jarboot-server started.`,
    SETTING_P6: `:The Java process starting command.`,
    SETTING_P7: `:Specify the JVM parameters when the service starts, such as memory size, garbage collector, etc.`,
    SETTING_P8: `:The start parameter, that is, the parameter passed to the main entry function.`,
    SETTING_P9: `:The higher the start priority, the higher the start priority, and the parallel start priority with the same value will wait for the service of the previous level to start before the next level starts. When the service is shut down, it stops in reverse order.`,
    SETTING_P10: `:Specifies whether the service needs to be guarded. If it is enabled, jarboot will restart the service automatically when it is shut down abnormally.`,
    SETTING_P11: `:Specify whether to monitor the update of the service directory. After opening, if the file under the service directory is monitored to be updated, the service will be automatically restarted. If it is updated many times in a period of time, it will only be restarted at the end (anti jitter design).`,
};
